/**
 * ProjectName doctor
 * FileName DepartmentRepository.java
 * PackageName com.doctor.repository
 * Date 2017年6月12日 下午12:53:20
 * Copyright (c) 2015, lyg945@163.com All Rights Reserved.
 */
package com.doctor.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.doctor.entity.Doctor;

public interface DoctorRepository extends JpaRepository<Doctor, Long>{

	Page<Doctor> findByDepartmentId(long deparmentId, Pageable pageable);

}
